import header from "./header.js";
import renderNav from "./renderNav.js";

let headerCon = document.querySelector(".header .container");
headerCon.innerHTML = header();

let submenu = document.querySelector(".submenu div");
let data = JSON.parse(localStorage.getItem("navData"));
submenu.innerHTML = renderNav(data);
// nav_list.innerHTML = renderNav(data);
